package com.iot.ic.model;

import java.util.Date;

//车辆位置信息

public class Location {
	
    private Long locationId; //主键

    private Integer teamId; //车队主键

    private Double lat; //纬度

    private Double lng; //经度

    private Double angle; //角度

    private Long createTime; //创建时间

    private Long flownum; //

    private Integer deviceId; //设备主键

    private String deviceName; //设备名称
	
	private Date locationTime; //定位时间
	
    private Date updateTime; //更新时间

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getAngle() {
        return angle;
    }

    public void setAngle(Double angle) {
        this.angle = angle;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getFlownum() {
        return flownum;
    }

    public void setFlownum(Long flownum) {
        this.flownum = flownum;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
    
    public Date getLocationTime() {
		return locationTime;
	}

	public void setLocationTime(Date locationTime) {
		this.locationTime = locationTime;
	}

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	@Override
    public String toString() {
        return "Location{" +
                "locationId=" + locationId +
                ", teamId=" + teamId +
                ", lat=" + lat +
                ", lng=" + lng +
                ", angle=" + angle +
                ", createTime=" + createTime +
                ", flownum=" + flownum +
                ", deviceId=" + deviceId +
                ", deviceName='" + deviceName + '\'' +
                '}';
    }
}